package gulimall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 加载线程池配置
 *
 * @author HLF
 * @date 2022/8/8 10:04
 */
@Data
@Component
@ConfigurationProperties(prefix = "gulimall.thread")
public class ThreadPoolProperties {
    private Integer coreSize;

    private Integer maxSize;

    private Integer keepAliveTime;
}
